# the minimum version of CMake.
cmake_minimum_required(VERSION 3.4.1)
project(lame)

SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")
set(CMAKE_VERBOSE_MAKEFILE on)
set(can_use_assembler TRUE)
enable_language(ASM)

set(SOURCES)
file(GLOB SOURCES "*.c" "*.cpp" "libmp3lame/*.c" "libmp3lame/*.cpp")
#file(GLOB_RECURSE SOURCES "*.c")

add_library(mp3lame SHARED ${SOURCES})
set(LIBS)
list(APPEND LIBS
    image_pixelmap.z
    GLESv3
    hilog_ndk.z
    zgraphic.z
)
target_link_libraries(mp3lame ${LIBS})






